

    \filetitle{round}{Round tseries values to specified number of decimals}{tseries/round}

	\paragraph{Syntax}\label{syntax}

\begin{verbatim}
X = round(X)
X = round(X,Dec)
X = round(X,Dec,'significant')
\end{verbatim}

\paragraph{Input arguments}\label{input-arguments}

\begin{itemize}
\item
  \texttt{X} {[} tseries {]} - Tseries object whose data will be
  rounded.
\item
  \texttt{Dec} {[} numeric {]} - Number of decimals to which the tseries
  data will be rounded; if not specified, the data are rounded to
  nearest integer.
\item
  \texttt{'significant'} - See documentation on the built-in Matlab
  function \texttt{round}; works only in R2014b or later.
\end{itemize}

\paragraph{Output arguments}\label{output-arguments}

\begin{itemize}
\itemsep1pt\parskip0pt\parsep0pt
\item
  \texttt{X} {[} tseries {]} - Rounded tseries object.
\end{itemize}

\paragraph{Description}\label{description}

The number of decimals, to which the tseries data will be rounded, can
be positive, zero, or negative.

\paragraph{Example}\label{example}


